package cn.lcj.org.mapper;

import cn.lcj.basic.mapper.BaseMapper;
import cn.lcj.org.domain.Employee;
import cn.lcj.sys.domain.Menu;

import java.util.List;

/**
 * $
 *
 * @return $
 * @date $ $
 * @description $
 */
public interface EmployeeMapper extends BaseMapper<Employee> {


    void delRoleByEmployeeId(Long id);

    void addRole(Employee employee);

    List<String> findPermissionsByLogininfoId(Long id);

    List<Menu> findMenusByLogininfoId(Long id);

    Employee loadByLoginfo(Long id);

    List<Employee> queryByShopId(Long shopId);
}
